/*
 * Copyright (c) 2018-2999 广州亚米信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */

package com.yami.shop.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yami.shop.bean.model.CouponRecord;
import com.yami.shop.bean.model.User;
import com.yami.shop.bean.model.UserScoreRecord;
import com.yami.shop.dao.CouponRecordMapper;
import com.yami.shop.dao.UserScoreRecordMapper;
import com.yami.shop.service.CouponRecordService;
import com.yami.shop.service.UserScoreRecordService;
import com.yami.shop.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * @author lgh on 2018/09/11.
 */
@Service
public class CouponRecordServiceImpl extends ServiceImpl<CouponRecordMapper, CouponRecord> implements CouponRecordService {
    @Autowired
    private UserService userService;

    // @Override
    // public void addCouponRecord(String userCode, Integer count,Integer type) {
    //     User one = userService.getByUserCode(userCode);
    //     addCouponRecordByUid(one.getUserId(),count,type);
    // }

    @Override
    public void addCouponRecordByUid(String userId, Integer count,Integer type,String mark) {

    }
}
